/**
 * @filename:VoteConfigInfoService VoteConfigInfo
 * @project constract  V1.0
 * Copyright(c) 2018 bot Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.service;

import java.util.List;

import com.znufe.exam.domain.vote.VoteConfigInfo;
/**   
 *  
 * @Description:  答题器基站信息表——SERVICE
 * @Author:       bot   
 * @CreateDate:   VoteConfigInfo
 * @Version:      V1.0
 *    
 */
public interface VoteConfigInfoService {

	/**
	 * @explain 查询最后一条答题器基站信息表对象
	 * @return  VoteConfigInfo
	 * @author  bot
	 */
	public VoteConfigInfo selectLastVoteConfigInfo();

	/**
	 * @explain 查询答题器基站信息表对象
	 * @param   id
	 * @return  VoteConfigInfo
	 * @author  bot
	 */
	public VoteConfigInfo selectByPrimaryKey(Integer id);
	
	/**
	 * @explain 删除答题器基站信息表对象
	 * @param   id
	 * @return  int
	 * @author  bot
	 */
	public int deleteByPrimaryKey(Integer id);
	
	/**
	 * @explain 添加答题器基站信息表对象
	 * @param   voteConfigInfo
	 * @return  int
	 * @author  bot
	 */
	public int insertSelective(VoteConfigInfo voteConfigInfo);
	
	/**
	 * @explain 修改答题器基站信息表对象
	 * @param   voteConfigInfo
	 * @return  int
	 * @author  bot
	 */
	public int updateByPrimaryKeySelective(VoteConfigInfo voteConfigInfo);
	
	/**
	 * @explain 查询答题器基站信息表集合
	 * @param   voteConfigInfo
	 * @return  List<VoteConfigInfo>
	 * @author  bot
	 */
	public List<VoteConfigInfo> queryVoteConfigInfoList(VoteConfigInfo voteConfigInfo);
	

}